<template>
  <v-sheet
    class="flex-1-1-0 position-relative w-0"
    color="theme-surface"
    rounded="lg"
    :style="margin"
  >
    <LoginPage v-if="!isLoggedIn" />
    <StartPage v-else />
  </v-sheet>
</template>

<script lang="ts" setup>
import type { CSSProperties } from 'vue'
import LoginPage from './LoginPage.vue'
import StartPage from './StartPage.vue'

defineProps<{
  isLoggedIn: boolean
  margin: CSSProperties
}>()
</script>
